package com.luhe.musicscore.staff;

import com.luhe.musicxml.v1.ScorePartwise;
import com.luhe.musicxml.v1.part.measure.Measure;

import java.awt.*;
import java.awt.image.BufferedImage;

//提供五线谱打印能力
public class Staff {


    //转换成乐谱
    public BufferedImage toImage(ScorePartwise scorePartwise) {
        return null;
    }


    //把小节转为五线谱图片
    private BufferedImage toImage(Measure measure) {
        return null;
    }

    public void show(){};

    public void draw(Graphics g){}

    public void saveJPG(String file){}
}
